package cn.kdlc.demo.retrofit;

import com.squareup.okhttp.ResponseBody;

import retrofit.Call;
import retrofit.Response;
import retrofit.http.GET;
import rx.Observable;

/**
 * Created by hetwen on 2015/12/20 0020.
 */
public interface RetrofitService {

    @GET("/api/state")
    public Call<ResponseBody> getState();

    @GET("/api/state")
    public Observable<Response<ResponseBody>> getState2();

}
